![]() |
Sensor Fusion for Kinetis MCUs (ISSDK/KSDK version)
|
Data Fields | |
| uint8_t | iWhoAmI |
| bool | isEnabled |
| uint8_t | iFIFOCount |
| uint16_t | iFIFOExceeded |
| int16_t | iGsFIFO [ACCEL_FIFO_SIZE][3] |
| float | fGs [3] |
| float | fGc [3] |
| float | fgPerCount |
| float | fCountsPerg |
| int16_t | iGs [3] |
| int16_t | iGc [3] |
| int16_t | iCountsPerg |
The AccelSensor structure stores raw and processed measurements, as well as metadata for a single 3-axis accelerometer. This structure is normally "fed" by the sensor driver and "consumed" by the fusion routines.
Definition at line 205 of file sensor_fusion.h.
| float fCountsPerg |
counts per g
Definition at line 216 of file sensor_fusion.h.
| float fGc[3] |
averaged precision calibrated measurement (g)
Definition at line 214 of file sensor_fusion.h.
Referenced by fInit_3DOF_G_BASIC(), fInit_6DOF_GB_BASIC(), fInit_6DOF_GY_KALMAN(), fInit_9DOF_GBY_KALMAN(), fInvertAccelCal(), fRun_3DOF_G_BASIC(), fRun_6DOF_GB_BASIC(), and fRun_6DOF_GY_KALMAN().
| float fgPerCount |
g per count
Definition at line 215 of file sensor_fusion.h.
| float fGs[3] |
averaged measurement (g)
Definition at line 213 of file sensor_fusion.h.
Referenced by fInvertAccelCal(), and fUpdateAccelBuffer().
| int16_t iCountsPerg |
| uint8_t iFIFOCount |
number of measurements read from FIFO
Definition at line 209 of file sensor_fusion.h.
Referenced by addToFifo(), and ApplyAccelHAL().
| uint16_t iFIFOExceeded |
Number of samples received in excess of software FIFO size.
Definition at line 210 of file sensor_fusion.h.
Referenced by addToFifo().
| int16_t iGc[3] |
averaged precision calibrated measurement (counts)
Definition at line 218 of file sensor_fusion.h.
Referenced by fInvertAccelCal().
| int16_t iGs[3] |
averaged measurement (counts)
Definition at line 217 of file sensor_fusion.h.
| int16_t iGsFIFO[ACCEL_FIFO_SIZE][3] |
FIFO measurements (counts)
Definition at line 211 of file sensor_fusion.h.
Referenced by addToFifo(), and ApplyAccelHAL().
| bool isEnabled |
true if the device is sampling
Definition at line 208 of file sensor_fusion.h.
| uint8_t iWhoAmI |
sensor whoami
Definition at line 207 of file sensor_fusion.h.